import Vue from 'vue'
import App from './App.vue'
import './plugins/element.js'
import router from './router'
import store from './store'

Vue.config.productionTip = false

//三级联动组件
import TypeNav from './components/TypeNav/index'
import Carousel from './components/Carousel/index'
Vue.component(TypeNav.name,TypeNav)
Vue.component(Carousel.name,Carousel)

//引入MockServe.js
import './mock/mockServe'

//引入Swiper样式
import "swiper/css/swiper.css"

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
